﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin_panel/Admin.master" AutoEventWireup="true" CodeFile="Thongtinlienhe.aspx.cs" Inherits="Admin_panel_Thongtinlienhe" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
      <title>Thông tin liên hệ</title>
<style type="text/css">
 .small_text
     {
         font-size: 11px;
color: rgb(150,150,150);}
</style>
     <div class="content-box"><!-- Start Content Box -->

        <div class="content-box-header">
            <h3>Thông tin liên hệ</h3>
            <div class="clear"></div>
        </div> <!-- End .content-box-header -->

        <div class="content-box-content">
        <!-- Begin tab_header-->
        <div id="tab1"> <!-- This is the target div. id must match the href of this div's tab --> 
               <table style="width: 100%;table-layout:fixed;border:1px;" >
                  
                   <tr>
                       <td style="width: 124px"><label>Tên đơn vị:</label></td>
                       <td>
                          <asp:TextBox  class="text-input medium-input" ID="txttendonvi" runat="server" 
                               Width="454px" TextMode="SingleLine" ></asp:TextBox>
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                               ErrorMessage="* Chưa nhập tên đơn vị" ControlToValidate="txttendonvi"></asp:RequiredFieldValidator>
                       </td>
                   </tr>
                   <tr>
                       <td style="width: 124px"><label>Địa chỉ:</label></td>
                       <td>
                          <asp:TextBox  class="text-input medium-input" ID="txtdiachi" runat="server" 
                               Width="454px" TextMode="SingleLine" ></asp:TextBox>
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                               ErrorMessage="* Chưa nhâp địa chỉ" ControlToValidate="txtdiachi"></asp:RequiredFieldValidator>
                       </td>
                   </tr>
                  <tr>
                       <td style="width: 124px"><label>Số điện thoại:</label></td>
                       <td>
                           <asp:TextBox  class="text-input medium-input" ID="txtsodienthoai" runat="server" 
                               Width="454px" TextMode="SingleLine"></asp:TextBox>               
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                               ErrorMessage="* Chưa nhập số điện thoại" 
                               ControlToValidate="txtsodienthoai"></asp:RequiredFieldValidator>
                       </td>
                   </tr>
                   <tr>
                       <td style="width: 124px"><label>Số Fax:</label></td>
                       <td>
                           <asp:TextBox  class="text-input medium-input" ID="txtsofax" runat="server" 
                               Width="454px" TextMode="SingleLine"></asp:TextBox>                   
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                               ErrorMessage="* Chưa nhập số Fax" ControlToValidate="txtsofax"></asp:RequiredFieldValidator>
                       </td>
                   </tr>
                   <tr>
                       <td style="width: 124px"><label>Email:</label></td>
                       <td>
                           <asp:TextBox  class="text-input medium-input" ID="txtemail" runat="server" 
                               Width="454px"></asp:TextBox>
                           <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                               ControlToValidate="txtemail" ErrorMessage="* Sai định dạng mail" 
                               ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                       </td>
                   </tr>
                   <tr>
                       <td style="width: 124px"><label>Website:</label></td>
                       <td>
                           <asp:TextBox  class="text-input medium-input" ID="txtwebsite" runat="server" 
                               Width="454px"></asp:TextBox>
                           <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                               ErrorMessage="* Sai định dạng website" ControlToValidate="txtwebsite" 
                               ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
                              <br />
                              <small class="small_text">Định dạng website có dạng vd: http://ABC.com.vn</small>
                       </td>
                   </tr>
                   <tr>
                       <td style="width: 124px"><label>Phụ Lục:</label></td>
                       <td>
                           <asp:TextBox  class="text-input medium-input" ID="txtphuluc" runat="server" 
                               Width="454px"></asp:TextBox>
                           <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                               ErrorMessage="* Chưa nhập phục lục" ControlToValidate="txtphuluc"></asp:RequiredFieldValidator>
                                <br />
                              <small class="small_text">Thông tin về chủ khoản website hoặc chủ biên</small>
                       </td>
                   </tr>
               </table>
              
            <table>
                 <tfoot>
                <tr>
                    <td colspan="6">
                        <div class="bulk-actions align-left">                           
                            <asp:Button  class="button" ID="btn_lienhe"  runat="server" Text="Hoàn tất" 
                                onclick="btn_lienhe_Click" />
                            
                        </div>
                        <div class="clear"></div><asp:Label ID="Label1" runat="server" Text=""></asp:Label>
                    </td>
                </tr>
                </tfoot>
            </table>
            

        </div> <!-- End #tab1 -->
       
     

        </div> <!-- End .content-box-content -->

        </div> <!-- End .content-box -->   
</asp:Content>

